<?php

namespace app\index\controller;

use app\client\index\C_adPosition;

class AdPosition
{
    public $client;

    public function __construct()
    {
        $this->client = new C_adPosition();
    }

    /**
     *  获取广告位所有广告
     */
    public function getList()
    {
        $response = $this->client->getList();
        return jsonResponse($response);
    }
}